package com.l024.model.user;

import com.l024.model.system.MeetRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 用户表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "用户模型类",description = "用户模型类")
public class MeetUser implements Serializable {
  @ApiModelProperty(value = "用户id",name = "uId",dataType = "long")
  private long uId;
  @ApiModelProperty(value = "角色id",name = "uRoleId",dataType = "long")
  private long uRoleId;
  @ApiModelProperty(value = "用户网名",name = "uNetName",dataType = "String")
  private String uNetName;
  @ApiModelProperty(value = "用户名",name = "uName",dataType = "String")
  private String uName;
  @ApiModelProperty(value = "用户密码",name = "uPassword",dataType = "String")
  private String uPassword;
  @ApiModelProperty(value = "用户手机",name = "uPhone",dataType = "String")
  private String uPhone;
  @ApiModelProperty(value = "用户邮箱",name = "uEmail",dataType = "String")
  private String uEmail;
  @ApiModelProperty(value = "用户头像",name = "uAvator",dataType = "String")
  private String uAvator;
  @ApiModelProperty(value = "用户注册时间",name = "uCreateTime",dataType = "Timestamp")
  private Timestamp uCreateTime;
  @ApiModelProperty(value = "用户更新时间",name = "uUpdateTime",dataType = "Timestamp")
  private Timestamp uUpdateTime;
  @ApiModelProperty(value = "用户备注",name = "uRemarks",dataType = "String")
  private String uRemarks;
  @ApiModelProperty(value = "用户角色",name = "meetRole",dataType = "MeetRole")
  private MeetRole meetRole;
  //用户token
  private String token;
}
